<template>
  <div id="app">
    <Search></Search>
    <router-view @keepId="toId"/>
  </div>
</template>

<script>
  import Search from '@/components/Search.vue'
  export default {
  components: {
    Search
  },
  methods:{
    // 歌曲id和mvid 传递3
    toId(id){
      this.$eventBus.$emit('keepSrc',id)
      // console.log('bro',id)
    }
  }
}
</script>

<style lang="scss">
</style>
